package com.avic.rong.bean.focus_fans;

import java.util.List;

public class FansBean {

    /**
     * count : 2
     * pageSize : 10
     * pageNo : 1
     * totalPage : 1
     * list : [{"user_id":214150,"follower_num":18452,"user_name":"RRX1EEN","article_num":800,"logo":"http://rrh.rongrong.huazhi365.com/static/www/img/logo.png\n\n","is_foller":true}]
     * pageHtml : <script language="JavaScript">
     function subPageForward(pageNo) {
     if(pageNo=='' ||pageNo==1){
     document.getElementById('goPage').focus(); return false;
     }if(pageNo >1){
     document.getElementById('goPage').value = 1;return false;
     }
     document.getElementById('pageNo').value=pageNo;
     var pageForm= document.getElementById("pageForm")
     if(pageForm==''||pageForm==null){
     changeSort(null,pageNo)
     }else{
     document.getElementById("pageForm").submit();
     }
     }
     function checkExec(self,event){
     if(self.value=='')return;var _patrn=/^[0-9]{1,5}$/;
     if (_patrn.exec(self.value)){
     if(self.value>=1){
     document.getElementById('goPage').value =1
     }else if(self.value>=1){
     document.getElementById('goPage').value =1
     }
     }else{
     document.getElementById('goPage').value =""
     }
     if(event.keyCode == 13 && document.getElementById('goPage').value>0){
     subPageForward(document.getElementById('goPage').value);
     }
     }
     </script>
     <input type="hidden" name="pageNo" id="pageNo" value=1 />
     <input type="hidden" name="pageSize" id="pageSize" value="10" />
     <ul class="choose-ul">
     <li class="prev"><a href="javascript:;">&nbsp;&nbsp;</a></li><li class="active" ><a href="javascript:void(0);" >1</a></li>
     <li class="next"><a href="javascript:;">&nbsp;</a></li>
     <p class="page">共1页</p><div class="push-page">跳到 <input type="text" class="jump-ipt" onfocus="this.select();"  value="1"  onkeyup="checkExec(this,event)" id="goPage" /> 页</div><div class="jump-btn" onclick="return subPageForward(document.getElementById('goPage').value);return false;" href="javascript:;" >确定</div></ul>
     * pageHtmlByA : null
     * pageHtmlTemplate : <script language="JavaScript">
     function subPageForward(pageNo) {
     if(pageNo=='' ||pageNo==1){
     document.getElementById('goPage').focus(); return false;
     }if(pageNo >1){
     document.getElementById('goPage').value = 1;return false;
     }
     document.getElementById('pageNo').value=pageNo;
     changeFormData(pageNo);//在页面上写出该方法
     }
     function checkExec(self,event){
     if(self.value=='')return;var _patrn=/^[0-9]{1,5}$/;
     if (_patrn.exec(self.value)){
     if(self.value>=1){
     document.getElementById('goPage').value =1
     }else if(self.value>=1){
     document.getElementById('goPage').value =1
     }
     }else{
     document.getElementById('goPage').value =""
     }
     if(event.keyCode == 13 && document.getElementById('goPage').value>0){
     subPageForward(document.getElementById('goPage').value);
     }
     }
     </script>
     <input type="hidden" name="pageNo" id="pageNo" value=1 />
     <input type="hidden" name="pageSize" id="pageSize" value="10" />
     <ul class="choose-ul">
     <li class="prev"><a href="javascript:;">&nbsp;&nbsp;</a></li><li class="active" ><a href="javascript:void(0);" >1</a></li>
     <li class="next"><a href="javascript:;">&nbsp;</a></li>
     <p class="page">共1页</p><div class="push-page">跳到 <input type="text" class="jump-ipt" onfocus="this.select();"  value="1"  onkeyup="checkExec(this,event)" id="goPage" /> 页</div><div class="jump-btn" onclick="return subPageForward(document.getElementById('goPage').value);return false;" href="javascript:;" >确定</div></ul>
     * filterNo : 0
     * formId : pageForm
     * firstPage : false
     * lastPage : false
     * nextPage : 2
     * firstResult : 0
     * prePage : 0
     */

    private int count;
    private int pageSize;
    private int pageNo;
    private int totalPage;
    private String pageHtml;
    private Object pageHtmlByA;
    private String pageHtmlTemplate;
    private int filterNo;
    private String formId;
    private boolean firstPage;
    private boolean lastPage;
    private int nextPage;
    private int firstResult;
    private int prePage;
    private List<ListBean> list;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public String getPageHtml() {
        return pageHtml;
    }

    public void setPageHtml(String pageHtml) {
        this.pageHtml = pageHtml;
    }

    public Object getPageHtmlByA() {
        return pageHtmlByA;
    }

    public void setPageHtmlByA(Object pageHtmlByA) {
        this.pageHtmlByA = pageHtmlByA;
    }

    public String getPageHtmlTemplate() {
        return pageHtmlTemplate;
    }

    public void setPageHtmlTemplate(String pageHtmlTemplate) {
        this.pageHtmlTemplate = pageHtmlTemplate;
    }

    public int getFilterNo() {
        return filterNo;
    }

    public void setFilterNo(int filterNo) {
        this.filterNo = filterNo;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getNextPage() {
        return nextPage;
    }

    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }

    public int getFirstResult() {
        return firstResult;
    }

    public void setFirstResult(int firstResult) {
        this.firstResult = firstResult;
    }

    public int getPrePage() {
        return prePage;
    }

    public void setPrePage(int prePage) {
        this.prePage = prePage;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * user_id : 214150
         * follower_num : 18452
         * user_name : RRX1EEN
         * article_num : 800
         * logo : http://rrh.rongrong.huazhi365.com/static/www/img/logo.png
         * is_foller : true
         */
        private int isV;

        public int getIsV() {
            return isV;
        }

        public void setIsV(int isV) {
            this.isV = isV;
        }

        private int user_id;
        private int follower_num;
        private String user_name;
        private int article_num;
        private String logo;
        private boolean is_foller;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getFollower_num() {
            return follower_num;
        }

        public void setFollower_num(int follower_num) {
            this.follower_num = follower_num;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public int getArticle_num() {
            return article_num;
        }

        public void setArticle_num(int article_num) {
            this.article_num = article_num;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public boolean isIs_foller() {
            return is_foller;
        }

        public void setIs_foller(boolean is_foller) {
            this.is_foller = is_foller;
        }
    }
}
